home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / program / ctutor.exe / SOURCE / COMMENTS.C < prev    next >
Text File  |  1994-05-15  |  466b  |  12 lines

  1.        /* This is a comment ignored by the compiler */
  2.  
  3. main() /* This is another comment ignored by the compiler */
  4. {
  5.    printf("We are looking at how comments are "); /* A comment is
  6.                                                      allowed to be
  7.                                                      continued on
  8.                                                      another line */
  9.    printf("used in C.\n");
  10. }
  11.      /* One more comment for effect */
  12.